package com.usian.bussiness.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("jzf-storage")
public interface StorageFeignService {
    @RequestMapping("stroage/deduct")//扣减库存
    public void deduct(@RequestParam("commodityCode") String commodityCode, @RequestParam("count") int count);

}
